global POSITION_INITIALE_BLOC;
global RAYON_BASSIN;

PBx = POSITION_INITIALE_BLOC(1);
PBy = POSITION_INITIALE_BLOC(2);
PBz = POSITION_INITIALE_BLOC(3);

[X,Y] = meshgrid(0:1:PBx * 2,-PBx:1:PBx);
Z = zeros(size(X));
[X1,Z1] = meshgrid(0:0.1:PBx * 2,0:0.1:PBz + 1);
Y1 = 15 * ones(size(X1));
%doublesurf(X,Y,Z,[0 1 0],X1,Y1,Z1,[0 0 0]);
axis equal;
hsurface = surf(X,Y,Z);
set(hsurface, 'FaceColor',[0 1 0], 'FaceAlpha',1, 'EdgeAlpha', 0);
axis equal;
hold on;
hsurface1 = surf(X1,Y1,Z1);
set(hsurface1, 'FaceColor',[0 1 0], 'FaceAlpha',1, 'EdgeAlpha', 0);
DessinerBassin([PBx 0], RAYON_BASSIN, 1000);    
xlabel('x');
ylabel('y');
zlabel('z');
%hold off;
